
.macro call_fn fn_name
	b \fn_name
.endm

.macro asm_print_u32 reg
	sub sp, sp, #0x10
	str x0, [sp]
	mov x0, \reg
	call_fn simple_print_u32_hex
	ldr x0, [sp]
	add sp, sp, #0x10
.endm

.macro asm_puts reg
	sub sp, sp, #0x10
	str x0, [sp]
	mov x0, \reg
	call_fn simple_puts
	ldr x0, [sp]
	add sp, sp, #0x10
.endm

